function hurrengokategoria() {
	{
	
		
		var s="no";

		if(document.f2.sexo[1].checked)
			s= "si";		
		for ( var i = 0; i < document.f2.sexo.length; i++ )
		{
		if ( document.f2.sexo[i].checked ){
		s= "si";
		break;
		}
		}
		if ( s == "no" ){
		alert( "Debe seleccionar hombre o mujer" ) ;
		document.f2.action ="./goiburua.html";
		document.f2.method = "POST";
		document.f2.submit();
		return 0;
		}
			
	}
	
	var s="no";
	if(document.f2.lanbidea[1].checked)
		s= "si";
	for ( var i = 0; i < document.f2.lanbidea.length; i++ )
	{
		
		if((document.f2.lanbidea[3].checked) && (document.f2.testua2.value==""))
			
		{
		 alert( "Sartu ezazu zure lanbidea" ) ;
		return 0;
		}
		 
	if ( document.f2.lanbidea[i].checked ){
	s= "si";
	document.f2.action = "./php/datuak.php";
	document.f2.method = "POST";
	document.f2.submit();
	return 1;
	break;
		}
	}
	if ( s == "no" ){
	alert( "Debe seleccionar un campo" ) ;
	document.f2.action ="./goiburua.html";
	document.f2.method = "POST";
	document.f2.submit();
	return 0;
	}	
	
}
